package ve.gob.ine.censo.beans;

import java.util.Date;
import java.util.concurrent.atomic.AtomicInteger;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;


@Service
public class TestQuartzPrueba  {

    private final AtomicInteger counter = new AtomicInteger();
    
//	private ve.gob.ine.censo.dao.ibatis.EjecutaDAOImp eDAO;
	
	public void RecalculaTabla(){
//		this.eDAO = new ve.gob.ine.censo.dao.ibatis.EjecutaDAOImp(ve.gob.ine.censo.dao.ibatis.Conexion.config());
//		this.eDAO.variables_indicadores();
	}

    @Scheduled(fixedDelay = 3000)
    public void process() {
        System.out.println("Actualizo tablas de calculo " + new Date());
        //this.RecalculaTabla();
    	    	
    }


}
